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