Log In  
Follow
Lark

Ridiculous Person


Request: Have the output of TRACE tell you tab and line number within the tab. Presently it tells line number from the beginning of the entire file.

I use TRACE, and I also use tabs in the editor.

Is there a way to get tab-based line numbers in the output of TRACE? otherwise the line numbers in the output are not so useful.

Here is my code:

local _ALIVE, EX = coresume(self.COR)
 if EX then
  printh(trace(self.COR, EX))
  color(7)
  stop("\nCOROUTINE ERROR, SEE TERMINAL")
 end

thank you!

1 comment



> a = "\F7"
> PRINT(a)

> b = SPLIT(a)[1]
> PRINT(b)
7
> PRINT(a==b)
FALSE
> PRINT(TYPE(b))
NUMBER

notice that taking the string "\F7", and running it through SPLIT turns it into the number 7.

should b not be equal to a for any STRING value of a in the above?

2 comments



Cart #lark_klondike-5 | 2024-04-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
29


updated:
save tableau
save settings
optional setting: move from foundation
up and down arrows navigate to and from the deck

previous update: undo, persistent score, a no-move resign doesn't ding score

29
22 comments