Search found 10 matches

by alxfrnds
Mon Jan 15, 2024 8:40 pm
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 36821

Re: PB.Ex Mail (Windows)

Any idea with this error trying to login hotmail/outlook:
"Authentication failed because the remote party has closed the transport stream."
by alxfrnds
Mon Jan 15, 2024 6:45 pm
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 36821

Re: PB.Ex Mail (Windows)

Any way convert html email to plain text?
by alxfrnds
Wed May 22, 2019 1:38 pm
Forum: Coding Questions
Topic: Fixed length strings in structures?
Replies: 8
Views: 2752

Re: Fixed length strings in structures?

TI-994A wrote:
alxfrnds wrote:...error: Struct Not Found Password...
Password has not been defined as a structure. And neither has EPass.

The syntax for accessing structure members:

Code: Select all

strPassword.s = AcctFile\Password
strEPass.s = AcctFile\Epass
Thanks
by alxfrnds
Wed May 22, 2019 12:59 pm
Forum: Coding Questions
Topic: Fixed length strings in structures?
Replies: 8
Views: 2752

Re: Fixed length strings in structures?

Hello, can anyone tell me what is wrong?
two files: Main and MainSubs
in Main I declare:
Structure AcctRecord
User.s{80}
Password.s{30}
EAddress.s{80}
EPass.s{30}
USign.s{141}
AlwaysSign.i
AlwaysTag.i
Ed.s{64}
Fore.i
Back.i
intMusic.i
QuoteSymbol.s{2}
Thrd.i
Rnb.i
MDir.s{40}
DownDir ...
by alxfrnds
Sun Jul 16, 2017 7:12 pm
Forum: Coding Questions
Topic: Read and Write Records
Replies: 3
Views: 1755

Re: Read and Write Records

Mijikai wrote:AcctFile.AcctRecord

WriteData(0,@AcctFile,SizeOf(AcctRecord))
Thanks for the prompt answer,
it looks great for just one record,
but suppose I have 10 records and I want to read and later write record number 5.

How do I do?
by alxfrnds
Sun Jul 16, 2017 6:45 pm
Forum: Coding Questions
Topic: Read and Write Records
Replies: 3
Views: 1755

Read and Write Records

Hi guys, can someone provide an example for read and write file records?
my records are in a structure, I can use random access because the record size is fixed with fixed length strings and other data, for example:

Structure AcctRecord
User.s{80}
Password.s{30}
EAddress.s{80}
EPass.s{30 ...
by alxfrnds
Thu Jul 13, 2017 11:52 pm
Forum: Coding Questions
Topic: Fixed Lenght String Array in Structure [Solved]
Replies: 6
Views: 2691

Re: Fixed Lenght String Array in Structure

Worked :) :) :) Thanks
Guys, inside the structure is ok, but what is the right way to declare a fixed length array?

I tried:
Dim ReadIt.s{2}[100]
Global.s ReadIt{2}[100]
and
ReadIt.s{2}[100]

without success :(

thanks again
If it is a dynamic array declare it as an array with DIM outside of a ...
by alxfrnds
Thu Jul 13, 2017 11:35 pm
Forum: Coding Questions
Topic: Fixed Lenght String Array in Structure [Solved]
Replies: 6
Views: 2691

Re: Fixed Lenght String Array in Structure

Guys, inside the structure is ok, but what is the right way to declare a fixed length array?

I tried:
Dim ReadIt.s{2}[100]
Global.s ReadIt{2}[100]
and
ReadIt.s{2}[100]

without success :(

thanks again
by alxfrnds
Wed Jul 05, 2017 4:26 pm
Forum: Coding Questions
Topic: Fixed Lenght String Array in Structure [Solved]
Replies: 6
Views: 2691

Re: Fixed Lenght String Array in Structure

Thanks guys, I will try tonight
by alxfrnds
Tue Jul 04, 2017 12:26 am
Forum: Coding Questions
Topic: Fixed Lenght String Array in Structure [Solved]
Replies: 6
Views: 2691

Fixed Lenght String Array in Structure [Solved]

Hello, I'm starting with purebasic, what is wrong in my declaration? What is the correct way?
Fixed Length Array Strings into structure
Thanks:

Structure AcctRecord
User.s{80}
Password.s{30}
EAddress.s{80}
EPass.s{30}
USign.s{141}
AlwaysSign.i
AlwaysTag.i
Ed.s{64}
Fore.i
Back.i
intMusic ...