FBS (freeBASIC script) is an interpreter for FbCadCam macros and a server side script engine.
Moderators: yajra1219, Jayem, kitty_webb, Ywsp, joanCruz03, shela
- Site Admin
- Posts: 657
- Joined: Thu Apr 13, 2017 12:14 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.