Scroll to see replies
Procedure DeleteItem(DelItem: String)
Release(Current) //Incase it was already in use, release allows it to be reused
If (Start.DataValue = DelItem)
Current = Start.Next
Release(Start)
Start = Current
Release(Current)
Else
Do
Release(Previous)
Previous = Current
Release(Current)
Current = Previous.Next
Until (Current.DataValue = DelItem)
Release(Previous.Next)
Previous.Next = Current.Next
Release(Current)
EndIf
EndProcedure
I used all the Release's as it suggested they needed to be released to be reused later on and therefore my code would need to do the same.Last reply 1 minute ago
Even Europe’s far-right firebrands seem to sense Brexit is a disaster- The GuardianPosted 1 minute ago
Take over ensuite room at Angel Lane, London, King's College ResidenceLast reply 3 minutes ago
Official: Aston University A100 2024 Entry Applicant thread1163
Last reply 3 minutes ago
BAE systems degree apprenticeships September 2024Last reply 4 minutes ago
is it possible to still become a doctor if you study biomedical?Last reply 5 minutes ago
Politics and international relation’s Birmingham V NottinghamLast reply 8 minutes ago
Official London School of Economics and Political Science 2024 Applicant ThreadLast reply 8 minutes ago
Edexcel A Level History Paper 2 (9HI0 2A-2H) - 7th June 2024 [Exam Chat]Last reply 8 minutes ago
Official University of Bristol Offer Holders Thread for 2024 entryLast reply 2 hours ago
Is MathsFM French Alevels good for a CS degree at top uni (OX, UCL, Durham etc)Last reply 1 day ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 1 week ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 3 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 4 weeks ago
Not receiving any response from University of Birmingham.Last reply 3 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]Last reply 2 hours ago
Is MathsFM French Alevels good for a CS degree at top uni (OX, UCL, Durham etc)Last reply 1 day ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 1 week ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 3 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 4 weeks ago
Not receiving any response from University of Birmingham.Last reply 3 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]