ArticleslgStudy

science

Symbolic Link (Microsoft)

Symbolic Link (Microsoft) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Symbolic Link (Microsoft) rather than just read about it. In short: Symbolic Link (SYLK) is an obsolete Microsoft file format that was used to exchange data between spreadsheets. SYLK files conventionally have a .slk suffix.

Key takeaways

  • Symbolic Link (Microsoft) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Symbolic Link (Microsoft) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Symbolic Link (Microsoft) from memory before moving on to harder problems.

Reference excerpt

Symbolic Link (SYLK) is an obsolete Microsoft file format that was used to exchange data between spreadsheets. SYLK files conventionally have a .slk suffix. Composed of only displayable ANSI characters, it can be easily created and processed by other applications, such as databases. Microsoft has never published a SYLK specification. Variants of the format are supported by Multiplan, Microsoft Excel, Microsoft Works, OpenOffice.org, LibreOffice and Gnumeric. The format was introduced in the 1980s and has not evolved since 1986. A commonly encountered (and spurious) 'occurrence' of the SYLK file happens when a comma-separated value (CSV) format is saved with an unquoted first field name of 'ID', that is the first two characters match the first two characters of the SYLK file format. Microsoft Excel (at least to Office 2016) will then emit misleading error messages relating to the format of the file, such as "The file you are trying to open, 'x.csv', is in a different format than specified by the file extension...". SYLK is known to cause security issues, as it allows an attacker to run arbitrary code, offers the opportunity to disguise the attack vector under the benign-looking appearance of a CSV file, and is still enabled by default on recent (2016) versions of Microsoft Excel.

Limitations SYLK does not have support for Unicode. Even if a SYLK file is created by an application that supports Unicode (for example Microsoft Excel), the SYLK file will be encoded in the current system's ANSI code page, not in Unicode. If the application contained characters that were displayable in Unicode but have no code point in the current system's code page, they will be converted to question marks ('?') in the SYLK file. The semicolon is treated as a field separator in SYLK, so cannot be used unescaped in data values. If a character string in the SYLK file is to contain a semicolon (;) then it should be prefixed with another semicolon so the string would appear as e.g., "WIDGET;;AXC1254". MS Excel will strip the first semicolon on import and the data element will appear as "WIDGET;AXC1254". Each line of a SYLK input file must be no longer than 260 characters. Otherwise, Microsoft Excel will issue an error message and skip loading the overlong line.

Description

Below is the contents of a sample SYLK file:

ID;P C;Y1;X1;K"Row 1" C;Y2;X1;K"Row 2" C;Y3;X1;K"Total" C;Y1;X2;K11 C;Y2;X2;K22 C;Y3;X2;K0;ER1C2+R2C2 E

This file, when read by a spreadsheet application that supports SYLK would be displayed like the following:

SYLK files consist of a sequence of records with semicolon-delimited lists of fields. In this file, the ID record (specifically the ID; at the start of the file) acts as a magic number, identifying the file as a SYLK file, as all SYLK files must start with an ID record. The P field without a value indicates the file was not generated by Microsoft Excel or Microsoft's older spreadsheet application Multiplan. Each C record describes one cell in the spreadsheet located at cell (X,Y) (the values of the X and Y fields). The K fields define the raw value of each cell. Strings of text are enclosed in quotation marks. Otherwise, the value is listed without quotes. Dates and times are internally stored as numbers of whole and fractional days since a set epoch and displayed accordingly with custom cell formatting options. The E field defines the value of the cell to be the value of an expression (equivalent, here, to the more familiar formula =B1+B2). Lastly, the E record marks the end of the file. It must be the last record in the file.

Formatting The F record is used to define and apply styles to cells, and P records can be used to define shared number formats, along with font information. For example:

ID;P P;PGeneral P;P_(* #,##0_);;_(* \-#,##0_);;_(* "-"_);;_(@_) P;P_(* #,##0.00_);;_(* \(#,##0.00\);;_(* "-"??_);;_(@_) P;P_("$"* #,##0.00_);;_("$"* \(#,##0.00\);;_("$"* "-"??_);;_(@_) C;Y1;X1;K"Row 1" C;Y2;X1;K"Row 2" C;Y3;X1;K"Total" C;Y1;X2;K11 C;Y2;X2;K22 C;Y3;X2;K0;ER1C2+R2C2 F;P2;C2 E

is rendered similar to the following:

The F record's P2 field indicates that the number format in the third and penultimate P record is being used, and the record's C2 field applies that format to the second column. Indices of P records are zero-indexed, while columns and rows are one-indexed. In this example, the following number formats are defined:

P0, the general number format, which displays the number as it is listed in the file, P1, a number format that uses thousands separators and no decimal places, P2 (applied to column two), the same number format as P1 but with two decimal places, and P3, the same number format as P2 but with a dollar sign at the start. The W field of the F record defines the widths of a group of columns in characters. For instance, the records F;W1 1 20 and F;W2 2 30 set the widths of the first two columns of a spreadsheet to 20 and 30 characters wide respectively. Likewise, F;W1 5 5 would set the widths of the first five columns to be five characters wide each. The F field of the F record defines both the number format and text alignment of a cell, column, row, or spreadsheet. Unlike the P record, this field only supports a basic set of number formats. As an example, a F;FD3C record would use the default number format with three digits and center-aligned text. The following SYLK file:

ID;P P;PGeneral C;Y1;X1;K"Row 1 Left Justify" F;P0;FG0L C;Y2;X1;K"Row 2 Right Justify" F;P0;FG0R C;Y3;X1;K"Total at Center" F;P0;FG0C C;Y1;X2;K11 C;Y2;X2;K22 C;Y3;X2;K0;ER1C2+R2C2 F;Y1;X2;FF2L F;Y2;X2;FF2R F;Y3;X2;F$2C F;W1 2 25 E

would be rendered, ignoring the incorrect column widths, like:

The P record can also be used to store font information, in addition to the number format. A cell with a P;FCambria;M240;SB;L4 record applied would be rendered using the Cambria font (FCambria), 12 point font (M240: the value of the M field divided by 20 is the font size in points), boldface (SB), and green (L4).

Syntax

The basic syntax of a SYLK file is shown below (in the ABNF syntax):

A list of valid record types along with their valid fields is shown below:

B record A record used to tell the number of rows and columns in a spreadsheet. It is recommended that it comes before the C and F records. Supported fields:

C record A record used to describe a cell's contents.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Symbolic Link (Microsoft)

Start with the simplest possible case. Write down what Symbolic Link (Microsoft) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Symbolic Link (Microsoft) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Symbolic Link (Microsoft) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Symbolic Link (Microsoft)

In research
Symbolic Link (Microsoft) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Symbolic Link (Microsoft) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Symbolic Link (Microsoft) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Microsoft Office, Spreadsheet file formats, so understanding it makes those chapters shorter.
In everyday life
Look for Symbolic Link (Microsoft) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Symbolic Link (Microsoft)” →

How to study Symbolic Link (Microsoft) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Symbolic Link (Microsoft) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Symbolic Link (Microsoft) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Symbolic Link (Microsoft) in simple terms?

Symbolic Link (SYLK) is an obsolete Microsoft file format that was used to exchange data between spreadsheets. SYLK files conventionally have a .slk suffix.

Why does Symbolic Link (Microsoft) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Symbolic Link (Microsoft)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Symbolic Link (Microsoft).

Tags

  • Microsoft Office
  • Spreadsheet file formats

Keep exploring