In article "passing user types to su" (on 18.01.97), Tim Hutzler@1:119/88
says:
Hello Tim !!
> | Error 481: Parameter mismatch |
>
> DECLARE FUNCTION HexOut(Dbyte) AS STRING
>
> UNION Dbyte
>
> END UNION
>
> DIM D4 AS Dbyte
>
> FUNCTION HexOut (h AS Dbyte) AS STRING 'here's the problem
>
> END FUNCTION
Declare the FUNCTION after your UNION, I think that's all.
Regards,
----------------
/
/ h o m a s
email : author@pbsound.snafu.de
www : http://www.snafu.de/~pbsound/ (PowerBASIC's Home in Germany)
Cooming soon: PowerBASIC.GER
--- CrossPoint v3.11 R
2:2410/330.1)
---------------
* Origin: PBSOUND, PBFILES (20MB), PBFAQ, PBRULES, PBHIVGA at:
|