STYLE(,) does not accept width variable

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39909 quote
    AVT
    Participant
    Senior
    val=average[10]
    Return val coloured(255,0,0) style(point,5)

    above works

    val=average[10]
    DotSize=5
    Return val coloured(255,0,0) style(point,DotSize)

    syntax error: line 3, col 42

    one of the following suits better than “DotSize”: a text width (1-5)

    Should nothing be wrong with the code (Nicolas: a variable can only be a number – I keep in mind what you say 😉 , we need a number and I defined one)

    Comments please. Thank you.

    #39922 quote
    Nicolas
    Keymaster
    Master

    That’s right, width can’t be a variable, only a number. It should be nice if it was possible to use variable for sure. I’ll add it to the wish list.

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

STYLE(,) does not accept width variable


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
AVT @avt Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 07/05/2017
Status: Active
Attachments: No files
Logo Logo
Loading...