C4 - params not passed to function 
Author Message
 C4 - params not passed to function

the values are not being passed in the following example...

    pt2:Street = Strip( pt2:Street,1 )

the map reads...

Map...
Strip        Function( String,byte ),String
...End

the procedure reads...
Strip        Procedure ( tbs, pad )
tbs         String(40)        ! the string to be stripped
pad        Byte                ! remove spaces True / False
stripped  String(40)        ! the returned result
...

the value of pt2:street is not passed to Strip( tbs ) nor is pad.

Any ideas are welcome.

Thanks lots,



Sun, 21 Jan 2001 03:00:00 GMT  
 C4 - params not passed to function
Bill,

Why do you believe that parameter passing is the problem?

Regards,

Mark

Quote:

>the values are not being passed in the following example...

>    pt2:Street = Strip( pt2:Street,1 )

>the map reads...

>Map...
>Strip        Function( String,byte ),String
>...End

>the procedure reads...
>Strip        Procedure ( tbs, pad )
>tbs         String(40)        ! the string to be stripped
>pad        Byte                ! remove spaces True / False
>stripped  String(40)        ! the returned result
>...

>the value of pt2:street is not passed to Strip( tbs ) nor is pad.

>Any ideas are welcome.

>Thanks lots,


----------------------
sig under construction


Sun, 21 Jan 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. openMP: threadprivate not effected and function variables not passed

2. C4: DDEWrite Not Triggering C++ Callback Function

3. help needed passing params from a C program to a REXX EXEC

4. help needed passing params from a C program to a REXX EXEC

5. Passing Params to procedures in new threads

6. Help with OCX & Passing Params by reference

7. Summer 87 - Passing Params from DOS

8. help needed passing params from a C program to a REXX EXEC

9. Q: Passing CGI params to next form ?

10. Passing params?

11. mutating params passed by ref

12. Passing params to single instance of wxApp

 

 
Powered by phpBB® Forum Software