Results 1 to 3 of 3

Thread: Function_CParams

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member DirectuX's Avatar
    Join Date
    Oct 2018
    Location
    France
    Posts
    417
    Rep Power
    55

    Exclamation Function_CParams Asking for confirmation

    Hi,
    I am rewriting some code considering what was said here

    but,
    can someone confirm that code ?:
    I think the third call return an erroneous value.

    function test(optional param1 as string)
    
       msgbox 0,"There is " & Function_CParams & " parameter passed." & $crlf & "Param = " & param1
    
    end Function
    
    call test()
    call test("foo")
    call test()
    
    This code's tbasic file : cparms-test.zip
    Last edited by DirectuX; 22-11-2018 at 00:09.
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

Members who have read this thread: 0

There are no members to list at the moment.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •