Variable sur DrawRectangle -> nommé un rectangle ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206666 quote
    rwandererrwanderer
    Participant
    New

    Bonjour à tous,

     

    Est-il possible de définir un nom de variable sur un rectangle et si oui, comment ?

     

    Exemple : MonRectangle = drawrectangle(x1,x2,y1,y2)coloured(10,255,10,255)

     

    In fine, je voudrais placer un rectangle “statique” à l’interieur du rectangle nommé MonRectangle (qui lui serait “mobile”).

    #206684 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bjr,

    non, on ne peut pas nommer directement un rectangle. Après rien n’empêche de se créer une variable booléenne initialisée à =0 et qui ne passera à =1 que si on trace le rectangle, pour tester plus tard via la variable si le rectangle existe (=1) ou pas (=0), mais ça reste une variable dont l’existence est parallèle à celle du rectangle, sans que ce soit nommer directement le rectangle.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Variable sur DrawRectangle -> nommé un rectangle ?


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
rwanderer @rwanderer Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_BywanJC_Bywan
3 years, 8 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 01/02/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...