General information
Category:
Coding, syntax & commands
Ed Rauh,
I have a problem to pass a hexadecimal parameter in VFP but in Vb that is ok, why ?
Below is VB code :
>Dim PortAddress As Integer
>Dim nData As Integer
>PortAddress = &H2E3
>Out PortAddress, 128
>PortAddress = &H2E0
>nData = 1
>Out PortAddress, nData
>text1.text= Inp(PortAddress)
Do you know how to pass a hexadecimal value of "&h2E3" to the PortAddress in VFP ? When i display the return value from Inp(PortAddress), it is not the actual value i want that is not an integer!!
how to solve it ?
regard,
chang
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only