LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2010, 09:12 PM   #1
too beginner
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Next and previous script


I've almost done my script but I've problem to make script which is Next to move to next question and Previous to return to previous question


I've several questions and wanna to but script if user press N then go to next Q or P to previous

any idea guys how to deal with this problem

I'll appreciate for any kind of help

thanks
 
Old 11-10-2010, 11:49 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,400

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Could you write a little more clearly and also show us what code you've got so far.
 
Old 11-11-2010, 12:01 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
I have absolutely no idea how to deal with this problem because you have not said when or where the script runs, what are the next and previous question, what the scripting language is ...

There is some good information about how to ask an effective question at LQ's How To Ask a Question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ARGV[0] number or letters? & ranning script after finish previous program. DoME69 Programming 21 03-22-2010 07:21 PM
Create a script to cd into my previous directory alpha883 Programming 4 05-08-2009 08:55 AM
getting a previous file zakir_123 Linux - Newbie 4 06-02-2008 02:59 AM
previous day date display script tmaxx Linux - General 3 04-20-2007 01:20 AM
cd to the previous foldeer juanb Linux - General 3 02-09-2005 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration