Error help
#1

I have a problem with this code. How to fix it?
Code:
if(strlen((typ == 0) ? (FracRang[uid][i]) : (FamRang[uid][i])) < 2)

format(lStr, 256, "%s%s, ", lStr, (typ == 0) ? (FracRang[uid][i]) : (FamRang[uid][i]));
When he wants to remove FamRang
Code:
if(strlen((typ == 0) ? (FracRang[uid][i]))

format(lStr, 256, "%s%s, ", lStr, (typ == 0) ? (FracRang[uid][i]));
This error pops up
Code:
error 001: expected token: ":", but found ")"
error 001: expected token: ":", but found ")"
error 033: array must be indexed (variable "FracRang")
Reply


Messages In This Thread
Error help - by KamilPolska - 02.04.2019, 17:12
Re: Error help - by Marshas - 02.04.2019, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)