10-15-2022, 01:23 PM
(This post was last modified: 10-15-2022, 01:24 PM by Kernelpanic.)
A peculiar bug with Tab & Using
|
I can confirm this behavior. Try the simple code below:
Code: (Select All) ? tab(4) using "###"; foo Hit ENTER and watch as the auto-formatter tosses out the messed up line of junk: Code: (Select All) Print Tab(4)using Using "###"; foo The end-user fix here is for the user to make certain that they use a semi-colon after the TAB, but the IDE isn't catching that error (usually it auto inserts the semicolons into a PRINT statement as needed). Something is just slightly off between the TAB and the auto-semicolon insertion routine. (10-15-2022, 01:31 PM)SMcNeill Wrote: I can confirm this behavior. Try the simple code below: Must be still connected to this one https://qb64forum.alephc.xyz/index.php?t...#msg101641 However, that particular problem was fixed shortly after by Fellippe, either it returned (did not check the examples in that post) or it's at least something similar. EDIT: Just see that post states that there was another TAB issue fixed, maybe this is some mutual exclusive thing, fixing the first TAB issue caused the issue in that post and fixing that one re-introduced the original TAB issue
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32 Libraries & useful Functions: https://staging.qb64phoenix.com/forumdisplay.php?fid=23
10-15-2022, 04:17 PM
That's how it works:
Code: (Select All) Dim As Double zahl Code: (Select All) Print Tab(4); "Kilowatt : ", Motorrad.Kilowatt The IDE has its own imagination as well. . .
10-15-2022, 04:19 PM
When you guys check the source code, make sure some jackass didn't assign the variable "h" to the Tab function.
Pete
10-15-2022, 05:07 PM
A similar problem: Tab is 2 but it keeps going back. That is new!
Code: (Select All) Dim As Integer SatzNummer
10-15-2022, 07:41 PM
10-15-2022, 09:39 PM
(This post was last modified: 10-15-2022, 09:47 PM by Kernelpanic.)
I laugh my head off! Uh no, only half dead! - This is how everything works again :
Code: (Select All) 'Bild in neuem Fenster aufrufen I want to transfer this to the database. The corresponding motorcycle should be displayed for each specific record call. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 4 Guest(s)