Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FUNCTION Event(x AS DOUBLE) AS DOUBLE
#4
Code: (Select All)
PRINT Event

FUNCTION Event# (x AS DOUBLE)

    'code here
    Event = 1000

END FUNCTION
.
You can't declare a function AS DOUBLE, you must instead use the type identifier as shown above.

Update: Steve beat me to it my mere seconds Smile
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: FUNCTION Event(x AS DOUBLE) AS DOUBLE - by TerryRitchie - 01-26-2024, 05:16 PM



Users browsing this thread: 1 Guest(s)