Jump to content

Wikipedia:Reference desk/Archives/Computing/2024 March 28

From Wikipedia, the free encyclopedia
Computing desk
< March 27 << Feb | March | Apr >> Current desk >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 28

[edit]

UBASIC @

[edit]

In UBASIC, in the line "130 IF ((3*L^2+L)\2)@K=(-N)@K", is @ mod? Bubba73 You talkin' to me? 05:10, 28 March 2024 (UTC)[reply]

It is the remainder of integer division: 12345@678 = 141. I assume you have figured out that \ denotes integer division. I'm not sure though what happens when the operands can be negative.  --Lambiam 13:10, 28 March 2024 (UTC)[reply]
Thanks, yes I had figured out "\". Bubba73 You talkin' to me? 15:09, 28 March 2024 (UTC)[reply]
Resolved