SQF is an actively used programming language created in 2002.

17Years Old 1,000Users 0Jobs
  • SQF ranks in the bottom 50% of languages
  • SQF first appeared in 2002
  • I have 24 facts about SQF. just email me if you need more.

Example code from the web:

_num = 10;
_num = _num + 20; systemChat str _num;

Example code from Linguist:

#include <version.hqf>

#define SET(VAR,VALUE) private #VAR; VAR = VALUE;
#define CONV(VAR,ARRAY,POOL) VAR = ARRAY select (POOL find VAR);

#define ALL_HITPOINTS_MAN [ \
  "HitHead", "HitBody", \
  "HitLeftArm", "HitRightArm", \
  "HitLeftLeg","HitRightLeg" \
]

#define ALL_HITPOINTS_VEH [ \
  "HitBody", "HitHull", "HitEngine", "HitFuel", \
  "HitTurret", "HitGun", \
  "HitLTrack", "HitRTrack", \
  "HitLFWheel", "HitRFWheel", "HitLF2Wheel", "HitRF2Wheel", "HitLMWheel", "HitRMWheel", "HitLBWheel", "HitRBWheel", \
  "HitAvionics", "HitHRotor", "HitVRotor", \
  "HitRGlass", "HitLGlass", "HitGlass1", "HitGlass2", "HitGlass3", "HitGlass4", "HitGlass5", "HitGlass6" \
]
Edit

Last updated February 11th, 2019