Concatenare stringa e variabile in DRAWTEXT ProRealTime

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #258389 quote
    Alessandro Furlani
    Participant
    Average
    In questo comando: DRAWTEXT("text", x1, y1, (font), (style), (size)) COLOURED(R, G, B, a)
    

    ma in generale in PRT, come faccio per concatenare una stringa ad una variabile ? Cioè vorrei che il contenuto di “text” fosse un testo seguito da l valore di una variabile.


    Grazie

    #258393 quote
    Nicolas
    Keymaster
    Master

    Per visualizzare il valore di una variabile in un DRAWTEXT, è necessario racchiuderlo tra simboli #, come ad esempio in questo caso:

    drawtext("VARIABLE = #var#",barindex,high)
    


    Alessandro Furlani and Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Concatenare stringa e variabile in DRAWTEXT ProRealTime


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
5 days, 12 hours ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 02/22/2026
Status: Active
Attachments: No files
Logo Logo
Loading...