Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

using variables ending with numbers

$
0
0
Hi, I deal with a bunch of variables named: nom1, nom2, nom3, nom4,….. I would like to call the variable (nomX). I tried : ("nom%1).arg(X)="Sam"; (QString("nom%1).arg(X))="Sam"; but with no success. Could you tell me how to do it. Thank you

Viewing all articles
Browse latest Browse all 13965

Trending Articles