Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
[Delphi 2 VFP]
Message
From
10/09/2008 10:24:30
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
10/09/2008 09:02:40
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01346297
Message ID:
01346334
Views:
9
Hi Zhu,

What do you need? Do you want to create the function in VFP?
If you need to create the function in VFP, do this:
FUNCTION Writecard () as Integer
	LPARAMETERS encodertype as Integer, ncomm as Integer, secnr as Integer, cardtype as Integer;
			, 	guestname as String, roomno as String, checkin as String; checkout as String, guestcardno as String

	* Thing to do  => The symbol * at line's start mean commented line
ENDFUNC


FUNCTION ReadCard() as Integer
	LPARAMETERS encodertype as Integer, ncomm as Integer, secnr as Integer, cardtype as Integer;
			, 	syspass as String, cardno as String, roomno as String, checkin as String; checkout as String

	* Thing to do  => The symbol * at line's start mean commented line
ENDFUNC



FUNCTION ClearCard() as Integer
	LPARAMETERS encodertype as Integer, ncomm as Integer, secnr as Integer
	
	* Thing to do  => The symbol * at line's start mean commented line
ENDFUNC
	
FUNCTION GuestCheckOut() as Integer
	LPARAMETERS cardno as String
	
	* Thing to do  => The symbol * at line's start mean commented line
ENDFUNC
I hope this helps you.
Good luck!



>Hello, the World.
>Please Help Me.
>Delphi to VFP :
>
>
>A. Write Card
>
>WriteCard Prototype
>Writecard (encodertype:integer;ncomm:integer;secnr:integer; cardtype: integer; guestname: pchar; roomno: pchar; checkin:pchar; checkout:pchar;var guestcardno:pchar):integer;
>
>
>B. Read Card
>
>ReadCard Prototype
>ReadCard(encodertype:integer;ncomm:integer;secnr:integer;var cardtype:integer;
>var syspass:pchar;var cardno:pchar;var roomno:pchar;var checkin:pchar;
>var checkout:pchar):integer;
>
>
>C. Clear Card
>
>Function ClearCard(encodertype:integer;ncomm:integer;secnr:integer):integer;stdcall ;
>
>
>D. GuestCheckOut
>
>Function GuestCheckOut(cardno:pchar):integer;
>
>Thank U.
>
>- Tuberose
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform