SQFvm / runtime

Custom implementation of the Arma script language SQF
GNU Lesser General Public License v3.0
96 stars 30 forks source link

allSimpleObjects is scuffed #86

Closed eelislynne closed 5 years ago

eelislynne commented 5 years ago

allSimpleObjects is treated as a nular even tho it's a unary. Right arg is an array: https://community.bistudio.com/wiki/allSimpleObjects

lSimpleObjects ["hello"]; ^ [ERR][L2|C17|__libraryfeed.sqf] Expected either ';' or ','.

eelislynne commented 5 years ago

Also same issue with ctrlTextWidth Both can be fixed with --command-dummy-unary argument

X39 commented 5 years ago

Both operators, you list there, are currently not implemented.

SQF-VM is not feature complete and only supports a subset of the available operators (--command-dummy-* args are actually there to create the corresponding operators)

If you want a operator implemented, please take a look at https://docs.google.com/spreadsheets/d/1kRw1afDwnJvnW67ylmj91CVr8Qs57G7570-5XmnqSD4/edit#gid=0

If you want to check wether or not your current installation supports a given operator, use the help__ STRING operator.

If you want to list all operators implemented, the cmdsimplemented__ operator will provide you with that.