Numeric Proc Compile Error


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by josh on September 19, 2024 at 11:03:48:

I'm getting an error when I try to compile a numeric. I don't have the same problem when the return type is string or subroutine, so not sure what's going on here. Compiling from VS Code.

Proc Code:
1
2 .IF DECPASS
3
4 Numeric IntToFloat(num)
5
6 .ENDIF
7
8 .IF EXEPASS
9
10 Numeric IntToFloat(num)
11 length 16.8 & local f
12 print(#) num
13 input(#) f
14 procreturn f
15 end
16
17 .ENDIF

Errors:

C:\COMET\COMET\SOURCE\INC\MATH.INC (10,7): error M03: Variable referenced is incorrect type or undefined
C:\COMET\COMET\SOURCE\INC\MATH.INC (11,10): error M03: Variable referenced is incorrect type or undefined
C:\COMET\COMET\SOURCE\INC\MATH.INC (11,23): error M03: Variable referenced is incorrect type or undefined
C:\COMET\COMET\SOURCE\INC\MATH.INC (12,9): error M22: No path to this statement
C:\COMET\COMET\SOURCE\INC\MATH.INC (13,14): error M03: Variable referenced is incorrect type or undefined
C:\COMET\COMET\SOURCE\INC\MATH.INC (14,16): error M03: Variable referenced is incorrect type or undefined




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]