April 28, 2024, 03:23:01 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Does this make sense?

Started by Columbo, August 18, 2014, 05:04:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Columbo

Quoting from Database section of the IWBasic Beginner's eBook:

Quote
The subroutine is written to both copy data to the variables from the screen and from the screen to the variables. This time we are reading from the screen to the variables so we call CopyData with an argument of ‘0’.

Does this make sense?

I am going to guess that it should actually read "The subroutine is written to both copy data to the variables from the screen and from the variables to the screen".

If this is correct the can I assume that if we are reading from the variables to the screen that we would use an argument of '1'?

Thanks




LarryMc

mistake in eBook.

Your assumption is correct..

look at the addressbook.iwb example of the CopyData subroutine to verify your assumption.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Columbo

Thanks Larry. As always, I appreciate your help.