how do u append and subtract a number in an array. i have no clue. any links to a site about this wouls greatly appreciated
tyczj
0
Junior Poster in Training
Recommended Answers
Jump to PostSee Arrays
Jump to Post>How do u append in an array.
If u want to add at end then simply doarrayname[positionnumber-1]=value
If you want to add at the beginning or somewhere in middle then you need to shift the elements to make space for the new element.
>How do u subtract …
All 8 Replies
tyczj
0
Junior Poster in Training
SpS
34
Posting Pro
tyczj
0
Junior Poster in Training
SpS
34
Posting Pro
FireNet
64
Posting Whiz in Training
tyczj
0
Junior Poster in Training
SpS
34
Posting Pro
tyczj
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.