ByVal ByRef

FBS (freeBASIC script) is an interpreter for FbCadCam macros and a server side script engine.

Moderators: kitty_webb, Ywsp, joanCruz03, yajra1219, Jayem, shela

Post Reply
owen
Site Admin
Posts: 637
Joined: Thu Apr 13, 2017 12:14 pm

ByVal ByRef

Post by owen » Sat Sep 07, 2019 2:28 pm

Fbs aka fbcadcam-macro passes all variables including arrays ByVal.

There is no need to specify ByVal in a sub routine or function declaration. In fact I think doing that will cause it to crash.

Post Reply