Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


name generator

Posted on 1998-08-30
Medium Priority
Last Modified: 2008-02-20
i am trying to make a name generator and dont know how to get started if someone could help me with some sample code i would greatly appreciate it thank you
Question by:p400
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

a111a111a111 earned 100 total points
ID: 1431977
PRINT "Welcome to Tiki's Name Generator.  To start, press a key.  To quit, press a key"
PRINT "again.  To pause to view names, push the pause key.  Good luck."
dump$ = INKEY$
a = 0: c = 0
WHILE a < 66 OR a = 69 OR a = 73 OR a = 79 OR a = 85
a = INT(RND * 26 + 65)
b = INT(RND * 5)
IF b = 0 THEN b = 65
IF b = 1 THEN b = 69
IF b = 2 THEN b = 73
IF b = 3 THEN b = 79
IF b = 4 THEN b = 85
WHILE c < 66 OR c = 69 OR c = 73 OR c = 79 OR c = 85
c = INT(RND * 26 + 65)
d = INT(RND * 5)
IF d = 0 THEN d = 65
IF d = 1 THEN d = 69
IF d = 2 THEN d = 73
IF d = 3 THEN d = 79
IF d = 4 THEN d = 85
b = b + 32: c = c + 32: d = d + 32
PRINT CHR$(a); CHR$(b); CHR$(c); CHR$(d); " ";
GOTO NameLoop

Is it helps?

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question