What is a colon?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Language
French
English
ไทย
German
繁體中文
Country
Hi
All
Sign In / Create Account
language Selector,${0} is Selected
Register & Shop at Lenovo Pro
Register at Education Store
Pro Tier Benefits
• Save up to an extra 20% on Think everyday pricing.
• Spend $15K, advance for FREE to Plus Tier with increased benefits.
Plus Tier Benefits
• Save up to an extra 25% on Think everyday pricing.
• Spend $50K, advance for FREE to Elite Tier with increased benefits.
Elite Tier Benefits
• Save up to an extra 30% on Think everyday pricing.
Reseller Benefits
• Access to Lenovo's full product portfolio
• Configure and Purchase at prices better than Lenovo.com
View All Details >
more to reach
PRO Plus
PRO Elite
Congratulations, you have reached Elite Status!
Pro for Business
Delete icon Remove icon Add icon Reload icon
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
Remove
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Quick Links
Recent Searches
Hamburger Menu
skip to main content
{"backgroundColor":"#e6f4fa","sideMsg":"","data":[{"bannerInfo":{"t_id":"Pageda44be57-293f-41c4-a22a-ec1f4d1d4aaa","language":{"en_nz":"Lenovo%26%2339%3Bs%20CO2%20Offset%20Services%20%7C%20Choose%20the%20technology%20you%20need%20without%20compromising%20on%20your%20environmental%20goals.%26nbsp%3B%3Ca%20href%3D%22%2Fco2-offset-services%2F%3FipromoID%3Dnz_sitewide_carousel_b1_co2%22%20target%3D%22_blank%22%20title%3D%22LEARN%20MORE%20%26gt%3B%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ELEARN%20MORE%20%26gt%3B%3C%2Fspan%3E%3C%2Fa%3E","en":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3ELenovo%26%2339%3Bs%20CO2%20Offset%20Services%20%7C%20Choose%20the%20technology%20you%20need%20without%20compromising%20on%20your%20environmental%20goals.%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fco2-offset-services%2F%3FipromoID%3Dnz_sitewide_carousel_b1_co2%22%20target%3D%22_blank%22%20title%3D%22LEARN%20MORE%20%26gt%3B%22%20textvalue%3D%22LEARN%20MORE%20%26gt%3B%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ELEARN%20MORE%20%26gt%3B%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E"},"id":"Pageda44be57-293f-41c4-a22a-ec1f4d1d4aaa"}},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page4874ba0d-3199-4846-bb5c-1682f8f7ab23","language":{"en_nz":"Lenovo%20Education%20Store%20%7C%20Get%20access%20to%20members-only%20pricing%20across%20a%20large%20range%20of%20PCs%20%26amp%3B%20accessories.%20Sign%20up%20now%20with%20your%20Education%20ID.%20%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fedu%2Fnzeducation%2Fen%2Flogin%2Fanzedu%2F%3FipromoID%3Dnz_sitewide_carousel_b2_nzedu%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fspan%3E%3C%2Fa%3E","en":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3ELenovo%20Education%20Store%20%7C%26nbsp%3B%3C%2Fspan%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3EGet%20access%20to%20members-only%20pricing%20across%20a%20large%20range%20of%20PCs%20%26amp%3B%20accessories.%20Sign%20up%20now%20with%20your%20Education%20ID.%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fedu%2Fnzeducation%2Fen%2Flogin%2Fanzedu%2F%3FipromoID%3Dnz_sitewide_carousel_b2_nzedu%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20textvalue%3D%22SIGN%20UP%20OR%20LOG%20IN%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fa%3E%3C%2Fp%3E"},"id":"Page4874ba0d-3199-4846-bb5c-1682f8f7ab23"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page34a34439-01c1-482d-980f-c1d0048af3fd","language":{"en_nz":"%3Cp%3ELenovo%20Pro%20Business%20Store%20%7C%20Get%20access%20to%20exclusive%20business%20benefits%2C%201%3A1%20support%20%26amp%3B%20lots%20more.%20Login%20to%20access%20your%20savings%20now.%26nbsp%3B%3C%2Fp%3E%3Cp%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fsharelenovo%2Fnzsmb%2Fen%2Flogin%2Fnzsmb%2Findex.html%3FipromoID%3Dnz_sitewide_carousel_b3_nzsmb%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20textvalue%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3ELenovo%20Pro%20Business%20Store%20%7C%20Get%20access%20to%20exclusive%20business%20benefits%2C%201%3A1%20support%20%26amp%3B%20lots%20more.%20Login%20to%20access%20your%20savings%20now.%26nbsp%3B%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fsharelenovo%2Fnzsmb%2Fen%2Flogin%2Fnzsmb%2Findex.html%3FipromoID%3Dnz_sitewide_carousel_b3_nzsmb%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20textvalue%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fa%3E%3C%2Fp%3E"},"id":"Page34a34439-01c1-482d-980f-c1d0048af3fd"},"gInfo":""}],"autoRun":true,"displayTerminal":"pc,tablet,mobile"}

What is a colon?

A colon (:) is a punctuation mark that separates two distinct parts of a sentence. It also serves as an indicator for how lists and other information should be interpreted, such as in URLs or computer commands. In the world of computers and the web, colons are used to denote specific instructions or routes that have to be followed when accessing information. For instance, if you type “https://www” in your internet browser’s address bar, it's telling the browser to look for a secure website.

How do colons impact navigating websites?

Colons play an important role in website navigation. When typing in an address for a website, you need the ‘http(s)://’ before the domain name of the website in order for it to work properly. This tells your computer which protocol to use when attempting to locate this page on the web. Without this indicator, your computer would struggle to know what route to take leading up to the page you're looking for - and this can result in error messages being returned by your browser instead of the expected webpage.

What are colons used for in programming languages?

In programming languages such as JavaScript, PHP and Python, colons are often used as indicators of control structures such as conditionals or loops; they define where a particular block starts and ends so that code within it can be executed only when its conditions have been met. For instance, JavaScript has what are known as conditional statements - these involve using If-Else blocks with colons signaling where each block begins and ends. Without these colons defining blocks of code, programming language interpreters like Chrome V8 wouldn’t be able to understand which sections require execution under certain conditions.

How are colons used with command-line operating systems?

In command-line operating systems like DOS or UNIX, colons appear frequently after command names when entering into executable programs or scripts - indicating whether or not those programs can be seen by other users and processes running on the same system. For example: ‘ls –l /usr/bin/: rx’ will list all files located in ‘/usr/bin/’ that are visible only by root user; whereas ‘ls –l /usr/bin/ ::rx’ will list all files there regardless of who’s logged on at any given time. The double colon signifies that everyone has permission to use those particular files.

What else is colon used for in computing?

Colons also appear frequently when assigning values to variables within programming languages such as C++ - telling compiler tools where one variable end and another begins. Likewise, they can also be found providing separate addresses within IP networks too along with splitting up different fields within database records & tables which helps make data retrieval more efficient within relational databases (such as Oracle SQL). And finally, they even act as delimiters between parameters within spreadsheet formulas.

Can colons be confused with semi-colon usage?

Yes potentially - both look quite similar but serve very distinct functions; semicolon (;) often appears inside statement blocks — indicating where one instruction finishes & another begins — whereas colon (:) typically comes after commands themselves (though this obviously depends on programming language being used). So, if you ever find yourself mixing them up just remember that semicolon acts like a separator inside commands whereas colon acts like an indicator before them.

Are colons used in programming languages other than JavaScript and PHP?

Yes, colons are used in a variety of different programming languages such as C#, Java, and Python. In fact, they aren’t even limited to programming languages; they can also be found in command-line operating systems like DOS or UNIX as well! When used in programming languages—such as Java—colons are typically used for indicating control structures like loops or conditionals. For instance, you can use an if-else block with colons marking the beginning and the end of each block which tells the compiler which instructions need to be executed under certain conditions.

How do colons affect database records and tables?

Colon can also act as delimiters between fields when accessing database records & tables which makes it easier for users to retrieve specific data from a table or record. Database software such as Oracle SQL follows this approach when querying database records using SQL commands (e.g., SELECT * FROM [table_name] WHERE [column_name] = ‘value’). Likewise, in spreadsheets formulas often include parameters that are separated by colons too – so they can be quite handy when calculating values quickly within rows & columns of data.

How do colons help with website navigation?

When trying to navigate to a particular website, it's important that you include the ‘http(s)://’ before the domain name in your internet browser’s address bar. This tells your computer which protocol to use when accessing information from the web, and without this indicator your computer wouldn't be able to determine which route it has to take leading up to the page you're looking for - resulting in error messages being returned by your browser instead of the expected webpage.

Can colons be used for formatting purposes?

Yes, colons are often used for formatting purposes in certain types of documents or text-based projects such as books or research papers. They can also be used as bullet points or separators like in lists, tables and charts. And finally, they’re even sometimes employed within URLs to indicate a specific path (e.g., http://www.example.com/page1 : page2). As you can see, colons can serve quite a few different roles depending on what type of task you’re trying to accomplish.

open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()
x