Page MenuHomeFeedback Tracker

[Feature Request] Array selection operator # should have a higher priority
Closed, ResolvedPublic

Description

https://community.bistudio.com/wiki/SQF_syntax#Rules_of_Precedence

It should have the second highest priority. It just makes more sense that way.

I just compared it against all elements in the 10th place and they should all have lower priority than #

If you think about it, you'll come to understand my point.
Some examples:

_a = [[..................], [...................], ..............]; //100000 elements
+_a#0 //it should only copy the first element
_a = [[1,1,1]];
vectorNormalized _a#0 //should work like this
_a=[true,1,2,3];
!_a#0

Details

Severity
Feature
Resolution
Won't Fix
Reproducibility
N/A
Operating System
Windows 7
Category
Feature Request

Event Timeline

Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)

Well maybe it would have been better if this was implemented from the start with higher priority, but this cannot be changed now, so won't fix

BIS_fnc_KK closed this task as Resolved.Aug 30 2020, 12:07 PM
BIS_fnc_KK changed Resolution from Open to Won't Fix.