News:

  • April 30, 2024, 08:47:58 AM

Login with username, password and session length

Author Topic: Casting  (Read 1065 times)

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Casting
« on: September 09, 2017, 07:56:49 AM »
I have a question on casting
I created  EndCurlA, Unassigned word, Range 0-255, Radx Dec, Set Range 0-255, User

Now when I go to enter data I found i have 88, 0-87, memory slots. I hope I am calling 0-87 properly.
How do I end up with 88? How could I figure out how many I would have when I do a cast? Could one of the columns in Casting calculate and display that for me? When I saw range I thought I would have 256 of them. I guess each one uses up so many bytes.

I found this out by going to data view and typing EndCurlA 0 then hitting ctrl-enter all the way to the end until it said I hit the memory limit.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3663
    • Host Engineering
Re: Casting
« Reply #1 on: September 09, 2017, 08:10:39 AM »
You hit the limit of the number of rows in a Data View, which is 99.  I'm guessing you probably started EndCurlA0 around row 10.

If you create a new Data View and start with EndCurlA100 EndCurlA101, and hit Ctrl+Enter to the view's limit, you will end up at EndCurlA199.
« Last Edit: September 09, 2017, 10:37:13 AM by franji1 »